# -*- coding: utf-8 -*-

from selenium.webdriver.common.by import By

# 百度页面元素定位
class baidu_Elemert_Date(object):
    #搜索框定位
    search_input = (By.XPATH, '//*[@id="kw"]')
    # 搜索按钮
    search_btn = (By.XPATH, '//*[@id="su"]')
    # 百度第一条结果
    result1 = (By.XPATH, '//*[@id="1"]/h3/a')